package com.example.bbgds.test.home.widget;

import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.example.bbgds.test.R;

/**
 * Created by zjzhu on 26/4/16.
 */
public class CameraStatusIndicatorView extends LinearLayout {
    private ImageView mMuteView, mBluetoothView, m4GView;

    public CameraStatusIndicatorView(Context context) {
        this(context, null);
    }

    public CameraStatusIndicatorView(Context context, AttributeSet attrs) {
        this(context, attrs, 0);
    }

    public CameraStatusIndicatorView(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        View.inflate(context, R.layout.camera_statusindicator, this);
    }

    @Override
    public void onFinishInflate() {
        super.onFinishInflate();
        mMuteView = (ImageView)findViewById(R.id.icon_mute);
        mBluetoothView = (ImageView)findViewById(R.id.icon_bluetooth);
        m4GView = (ImageView)findViewById(R.id.icon_4g);
    }
}
